package com.example.helper2;

public class HomeCardInfo {
    // 在数据库中存放的id
    private int id;
    // 消息所属的类型
    private String type;
    // 消息的标题
    private String title;
    // 消息的内容
    private String content;

    public HomeCardInfo(int id, String type, String title, String content){
        this.id=id;
        this.type = type;
        this.title = title;
        this.content = content;
    }
    public int getId(){
        return this.id;
    }
    public String getType(){
        return this.type;
    }
    public String getTitle(){
        return this.title;
    }
    public String getContent(){
        return this.content;
    }

    public void setId(int id){
        this.id = id;
    }
    public void setType(String type){
        this.type = type;
    }
    public void setTitle(String title){
        this.title = title;
    }
    public void setContent(String content){
        this.content = content;
    }
}
